package qf.module.system.service.impl;

import org.springframework.stereotype.Service;
import qf.module.system.dao.SysRoleDao;
import qf.module.system.service.SysRoleService;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Title: SysRoleServiceImpl
 * @Author itmei
 * @Package qf.module.system.service.impl
 * @Date 2023/3/1 20:39
 * @description:
 */
@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Resource
    private SysRoleDao roleDao;
    @Override
    public void saveUserAndRole(Long userId, List<Long> roleIds) {
        roleDao.saveUserAndRole(userId,roleIds);
    }
}
